<extend name="public:nobase" />
<block name="cont">
<style>
        .form-group {
            float: left;
            width: 100%;
            margin-bottom: 12px;
        }
    </style>
    <div class="main-content" style="width: 500px;">
        <div class="row">
            <form id="menuForm" action="">
                <input type="hidden" name="admin_id" value="{$row['admin_id']}">
                <div class="form-group" >
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> {:lang('所属用户组')} </label>
                    <div class="col-sm-9">
                        <select name="group_id">
                            <option value="">请选择用户组</option>
                            <?php foreach($authGroup as $v):?>
                            <option value="{$v['group_id']}" <?php if($v['group_id'] == $row['group_id']){echo "selected";}?> >{$v['title']}</option>
                            <?php endforeach;?>
                        </select>
                    </div>
                </div>
                <div class="form-group" >
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> {:lang('username')} </label>

                    <div class="col-sm-9">
                        <input name="username" value="{$row['username']}" class="col-xs-10 col-sm-5" id="form-field-1" type="text" placeholder="">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> {:lang('登陆密码')} </label>

                    <div class="col-sm-9">
                        <input name="pwd" value="" class="col-xs-10 col-sm-5" id="form-field-2" type="password" placeholder="">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-3"> {:lang('email')} </label>

                    <div class="col-sm-9">
                        <input name="email" value="{$row['email']}" class="col-xs-10 col-sm-5" id="form-field-3" type="text" placeholder="">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-4"> {:lang('tel')}</label>

                    <div class="col-sm-9">
                        <input name="tel" value="{$row['tel']}" class="col-xs-10 col-sm-5" id="form-field-4" type="text" placeholder="">
                    </div>
                </div>
                <div class="form-group" action="">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1">  </label>

                    <div class="col-sm-9">
                        <button class="btn btn-info submit-ajax" data-form="#menuForm" type="button">
                        <i class="ace-icon fa fa-check bigger-110"></i>
                        确认提交
                    </button>
                    </div>
                </div>

            </form>
        </div>
    </div>

</block>

